﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace BaseLib.Localiztion
{
    public class LocalizedRequiredAttribute : RequiredAttribute
    {
        public override string FormatErrorMessage(string name)
        {
            //return base.FormatErrorMessage(name);
            return Translator.Translate("vld_err_msg_req", name);
        }
    }
}
